# view/user.py
import os

import mysql.connector
#导入蓝图类
from flask import Blueprint, request, jsonify
from flask import current_app
# 密码加密模块
from werkzeug.security import generate_password_hash, check_password_hash
import re
# 导入jwt
import jwt
from datetime import datetime, UTC, timedelta

from werkzeug.utils import secure_filename

# 导入连接数据库的组件
from public.sql_connect import get_connent

# 导入token验证的一块
from public.token import token_required, token_required_with_refresh
# 创建用户蓝图
user = Blueprint('user_print', __name__,template_folder='templates')

